#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLabel>
#include "WEB_CAM.h"
#include <QCloseEvent>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    video * my_webcam;
    QLabel *Label ;

private slots:

void set_background_video(QImage);


void on_pushButton_clicked();


void match(double);
void result(int);
void on_descriptor_toggled(bool checked);

void on_doubleSpinBox_valueChanged(double arg1);

protected:
void closeEvent(QCloseEvent* event);

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
